package org.jground.zk.lab;

import org.zkoss.zk.ui.Page;
import org.zkoss.zkex.zul.Borderlayout;
import org.zkoss.zkex.zul.Center;
import org.zkoss.zkex.zul.West;
import org.zkoss.zul.Label;
import org.zkoss.zul.Window;

public class BorderLayoutTest extends Window {
    private Borderlayout borderLayout;

    public BorderLayoutTest(Page page) {
        this.setPage(page);
        //
        // CREATE
        //
        this.setTitle("BorderLayout Test");
        //
        borderLayout = new Borderlayout();
        borderLayout.setHeight("450px");
        borderLayout.setParent(this);
        //
        West west = new West();
        west.setParent(borderLayout);
        // west.setCollapsible(true);
        // navigationPanel.setParent(west);
        new Label("HELLO").setParent(west);
        //
        Center center = new Center();
        center.setParent(borderLayout);
        // setCenter(searchPanel);
        new Label("HELLO").setParent(center);
        // new Label("HELLO").setParent(this);
        // 
        // EVENTS
        //

    }

}